package com.hjb.service.com;

import java.text.ParseException;
import java.util.List;

import com.hjb.service.domain.commsglog.ComMsgLog;
import com.hjb.service.domain.comverifycode.ComVerifyCode;
import com.hjb.service.domain.comverifycode.ComVerifyCodeExample;

public interface ComVerifyCodeService {

	List<ComVerifyCode> selectByExample(ComVerifyCodeExample example);
	
	int insertComVerifyCode(ComVerifyCode comVerifyCode);

	int sendShorMsgVerifyCode(ComMsgLog comMsgLog,Integer type);
	
	int verifyCode(String mobile,String smsCode,Integer type) throws ParseException ;
	
	boolean sendShorMsgVerifyCode(ComVerifyCode comVerifyCode);
	
}
